#include "Data.hpp"

void		Data::setValue(unsigned int val)
{
	this -> _value = val;
}

unsigned int	Data::getValue() const
{
	return this -> _value;
}

unsigned int	Data::getType() const
{
	return this -> _dataType;
}
	
Data::Data(unsigned int type) : _dataType(type), _value(0)
{
	
}

Data::Data(unsigned int type, unsigned int value) : _dataType(type), _value(value)
{

}
